import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("https://www.baidu.com")
s_ipt = driver.find_element(By.CLASS_NAME,"s_ipt")
print(s_ipt)
print(s_ipt.get_attribute("outerHTML"))

driver.quit()